package com.zd.service.impl;

import com.zd.mapper.PracticePropertyMapper;
import com.zd.model.PracticeProperty;
import com.zd.service.IPracticePropertyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PracticePropertyServiceImpl implements IPracticePropertyService {


    @Autowired
    private PracticePropertyMapper practicePropertyMapper;


    public List<PracticeProperty> selectPracticePropertyInfo() {
        return practicePropertyMapper.selectPracticePropertyInfo();
    }

    public PracticeProperty selectByPrimaryKey(int id) {
        return practicePropertyMapper.selectByPrimaryKey(new Long (id));
    }
}
